#ifndef DIALOG_H
#define DIALOG_H

#include <QDialog>

namespace Ui {
class Dialog;
}

class Dialog : public QDialog
{
    Q_OBJECT

public:
    explicit Dialog(QWidget *parent = nullptr);
    ~Dialog();

    void add_mes(int index,QString car_id,QString card_id,QString in_time,QString out_time,int fee,QByteArray datagram);
    void del_item();

signals:
   void send(int,QString, QString, QString, QString, int,QString,QString);

private slots:
    void on_pushButton_clicked();

private:
    Ui::Dialog *ui;
    QString car_id;
    QString card_id;
    QString in_time;
    QString out_time;
    int fee;
};

#endif // DIALOG_H
